package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 告警服务列表(BdpServiceAlarmService)表实体类
 *
 * @author makejava
 * @since 2021-05-14 16:57:33
 */
@SuppressWarnings("serial")
@Data
@TableName("bdp_service_alarm_service")
public class BdpServiceAlarmServices extends Model<BdpServiceAlarmServices> {
    //主键
    private Integer id;
    //服务警告id
    private Integer serviceAlarmId;
    //告警服务id
    private Integer serviceId;
    //告警服务名
    private String serviceName;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
